import React from 'react';
import {connect} from 'react-redux'
const Welcom = (props) => {
    const {backUserInfo}=props;
    console.log(backUserInfo,'backuserInfo')
    return (
        <div style={{width:'100%',height:'100%',fontSize:'40x',padding:'20px',textAlign:'center'}}>
            <h4>欢迎 <b>{backUserInfo.username}</b></h4>
            <h4>登录电商后台管理系统</h4>
        </div>
    );
}

export default connect((state=>{
    return {
        backUserInfo:state.backUserInfo
    }
}))(Welcom) ;
